------------------ fgui require start ------------------
------------------  fgui require end  ------------------
local Btn_guildnamemodificationSkin = Class("Btn_guildnamemodificationSkin");

function Btn_guildnamemodificationSkin:ctor(com)
    ------------------ fgui事件绑定start ------------------
    self:bindChild(com);
    self.gray.onChanged:Add(self.onChange_gray,self);
    self:init();
    ------------------  fgui事件绑定end  ------------------
end

function Btn_guildnamemodificationSkin:bindChild(com)
    ------------------ fgui变量绑定start ------------------
    self.fguiObj = com;
    self.gray = com:GetController("gray");
    self.uIRedDots = com:GetChild("UIRedDots");
    self.lock = com:GetChild("lock");
    ------------------  fgui变量绑定end  ------------------
end

function Btn_guildnamemodificationSkin:init() end

function Btn_guildnamemodificationSkin:OnDestroy()
    ------------------ fgui事件移除start ------------------
    self:beforeDestroy();
    self.gray.onChanged:Clear();
    ------------------  fgui事件移除end  ------------------
end

function Btn_guildnamemodificationSkin:onChange_gray(event) end

------------------  ↑ fgui事件句柄 ↑  ------------------

function Btn_guildnamemodificationSkin:beforeDestroy() end

return Btn_guildnamemodificationSkin;
